package com.hospital.schedule.module.exception.enums;

public enum DoctorLeaveRecordExceptionEnum {

    HAS_PATIENT(3001, "有患者预约了此排班"),
    ADD_FAIL(3002, "请假失败，请联系管理员"),
    NOT_EXIST(3003, "此请假条不存在，请联系管理员"),
    NOT_AGREE(3004, "此请假条代班医生未同意");
    public final Integer code;
    public final String message;
    DoctorLeaveRecordExceptionEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
